﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Reflection.PortableExecutable;

namespace jindong
{
    public class Order_item
    {
        /// <summary>
        /// 明细ID
        /// </summary>
        [Key]
        [Column]
        
        public Guid item_id { get; set; }

        [Column]
        /// <summary>
        /// 订单号
        /// </summary>
        public string? order_id { get; set; }

        [Column]
        /// <summary>
        /// SKU编码
        /// </summary>
        public string? sku_id { get; set; }

        [Column]
        /// <summary>
        /// 购买数量
        /// </summary>
        public int quantity { get; set; }

        [Column]
        /// <summary>
        /// 成交单价
        /// </summary>
        public decimal Mprice { get; set; }
    }
}
